How to Wait for AJAX Data Load Before Playing a Video in JavaScript
onscroll=throttle(300,function(){////BigexpensiveAJAXcallhere//});.OrifyouareajQuerykindofpersonthenyoumightdoitthis ...,UsingjQuerythrottle/debounce,youcanpassadelayandfunctionto$.debouncetogetanewfunction,thatwhencalledrepetitively,executestheo...。參考影片的文章的如下: